﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="Acceso_Datos" targetNamespace="http://tempuri.org/Acceso_Datos.xsd" xmlns:mstns="http://tempuri.org/Acceso_Datos.xsd" xmlns="http://tempuri.org/Acceso_Datos.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="2" FunctionsComponentName="QueriesTableAdapter" GeneratorFunctionsComponentClassName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" UserFunctionsComponentName="QueriesTableAdapter" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="ControlInventarioConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="ControlInventarioConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Inventario.Acceso_Datos.Properties.Settings.GlobalReference.Default.ControlInventarioConnectionString" Provider="System.Data.SqlClient" />
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="ControlInventarioConnectionString1" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="ControlInventarioConnectionString1 (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Inventario.Acceso_Datos.Properties.Settings.GlobalReference.Default.ControlInventarioConnectionString1" Provider="System.Data.SqlClient" />
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="ControlInventarioConnectionString2" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="ControlInventarioConnectionString2 (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Inventario.Acceso_Datos.Properties.Settings.GlobalReference.Default.ControlInventarioConnectionString2" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="sObtenerProductoComprobanteTableAdapter" GeneratorDataComponentClassName="sObtenerProductoComprobanteTableAdapter" Name="sObtenerProductoComprobante" UserDataComponentName="sObtenerProductoComprobanteTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="ControlInventarioConnectionString (Settings)" DbObjectName="ControlInventario.dbo.sObtenerProductoComprobante" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.sObtenerProductoComprobante</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="NombreProducto" DataSetColumn="NombreProducto" />
              <Mapping SourceColumn="Existencias" DataSetColumn="Existencias" />
              <Mapping SourceColumn="cantidad" DataSetColumn="cantidad" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="sObtenerProductosBodegaTableAdapter" GeneratorDataComponentClassName="sObtenerProductosBodegaTableAdapter" Name="sObtenerProductosBodega" UserDataComponentName="sObtenerProductosBodegaTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="ControlInventarioConnectionString (Settings)" DbObjectName="ControlInventario.dbo.sObtenerProductosBodega" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.sObtenerProductosBodega</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="NombreProducto" DataSetColumn="NombreProducto" />
              <Mapping SourceColumn="Existencias" DataSetColumn="Existencias" />
              <Mapping SourceColumn="Accion" DataSetColumn="Accion" />
              <Mapping SourceColumn="ProductoId" DataSetColumn="ProductoId" />
              <Mapping SourceColumn="CabeceraComprobanteId" DataSetColumn="CabeceraComprobanteId" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="spConsultaFacturaTableAdapter" GeneratorDataComponentClassName="spConsultaFacturaTableAdapter" Name="spConsultaFactura" UserDataComponentName="spConsultaFacturaTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="ControlInventarioConnectionString (Settings)" DbObjectName="ControlInventario.dbo.spConsultaFactura" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.spConsultaFactura</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Apellidos" DataSetColumn="Apellidos" />
              <Mapping SourceColumn="Nombres" DataSetColumn="Nombres" />
              <Mapping SourceColumn="Fecha" DataSetColumn="Fecha" />
              <Mapping SourceColumn="FacturaId" DataSetColumn="FacturaId" />
              <Mapping SourceColumn="NumeroDocumento" DataSetColumn="NumeroDocumento" />
              <Mapping SourceColumn="ProveedorId" DataSetColumn="ProveedorId" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="spConsultaProductoTableAdapter" GeneratorDataComponentClassName="spConsultaProductoTableAdapter" Name="spConsultaProducto" UserDataComponentName="spConsultaProductoTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="ControlInventarioConnectionString (Settings)" DbObjectName="ControlInventario.dbo.spConsultaProducto" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.spConsultaProducto</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="NombreProducto" DataSetColumn="NombreProducto" />
              <Mapping SourceColumn="DetalleProducto" DataSetColumn="DetalleProducto" />
              <Mapping SourceColumn="Existencias" DataSetColumn="Existencias" />
              <Mapping SourceColumn="ProductoId" DataSetColumn="ProductoId" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="spConsultaProductoFacturaTableAdapter" GeneratorDataComponentClassName="spConsultaProductoFacturaTableAdapter" Name="spConsultaProductoFactura" UserDataComponentName="spConsultaProductoFacturaTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="ControlInventarioConnectionString (Settings)" DbObjectName="ControlInventario.dbo.spConsultaProductoFactura" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.spConsultaProductoFactura</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="DetalleFacturaId" DataSetColumn="DetalleFacturaId" />
              <Mapping SourceColumn="CabeceraFacturaId" DataSetColumn="CabeceraFacturaId" />
              <Mapping SourceColumn="ProductoId" DataSetColumn="ProductoId" />
              <Mapping SourceColumn="cantidad" DataSetColumn="cantidad" />
              <Mapping SourceColumn="precio" DataSetColumn="precio" />
              <Mapping SourceColumn="IVA" DataSetColumn="IVA" />
              <Mapping SourceColumn="NombreProducto" DataSetColumn="NombreProducto" />
              <Mapping SourceColumn="PrecioTotal" DataSetColumn="PrecioTotal" />
              <Mapping SourceColumn="Fecha" DataSetColumn="Fecha" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="spConsultarEmpleadoTableAdapter" GeneratorDataComponentClassName="spConsultarEmpleadoTableAdapter" Name="spConsultarEmpleado" UserDataComponentName="spConsultarEmpleadoTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="ControlInventarioConnectionString (Settings)" DbObjectName="ControlInventario.dbo.spConsultarEmpleado" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.spConsultarEmpleado</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Nombres" DataSetColumn="Nombres" />
              <Mapping SourceColumn="Apellidos" DataSetColumn="Apellidos" />
              <Mapping SourceColumn="Cedula" DataSetColumn="Cedula" />
              <Mapping SourceColumn="Genero" DataSetColumn="Genero" />
              <Mapping SourceColumn="Direccion" DataSetColumn="Direccion" />
              <Mapping SourceColumn="Telefono" DataSetColumn="Telefono" />
              <Mapping SourceColumn="Cargo" DataSetColumn="Cargo" />
              <Mapping SourceColumn="EmpleadoId" DataSetColumn="EmpleadoId" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="spConsultarProveedorTableAdapter" GeneratorDataComponentClassName="spConsultarProveedorTableAdapter" Name="spConsultarProveedor" UserDataComponentName="spConsultarProveedorTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="ControlInventarioConnectionString (Settings)" DbObjectName="ControlInventario.dbo.spConsultarProveedor" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.spConsultarProveedor</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Nombres" DataSetColumn="Nombres" />
              <Mapping SourceColumn="Apellidos" DataSetColumn="Apellidos" />
              <Mapping SourceColumn="Cedula" DataSetColumn="Cedula" />
              <Mapping SourceColumn="Genero" DataSetColumn="Genero" />
              <Mapping SourceColumn="Direccion" DataSetColumn="Direccion" />
              <Mapping SourceColumn="Telefono" DataSetColumn="Telefono" />
              <Mapping SourceColumn="NombreEmpresa" DataSetColumn="NombreEmpresa" />
              <Mapping SourceColumn="DireccionEmpresa" DataSetColumn="DireccionEmpresa" />
              <Mapping SourceColumn="TelefonosEmpresa" DataSetColumn="TelefonosEmpresa" />
              <Mapping SourceColumn="RucEmpresa" DataSetColumn="RucEmpresa" />
              <Mapping SourceColumn="ProveedorId" DataSetColumn="ProveedorId" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="spConsultaSalidaIngresoTableAdapter" GeneratorDataComponentClassName="spConsultaSalidaIngresoTableAdapter" Name="spConsultaSalidaIngreso" UserDataComponentName="spConsultaSalidaIngresoTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="ControlInventarioConnectionString (Settings)" DbObjectName="ControlInventario.dbo.spConsultaSalidaIngreso" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.spConsultaSalidaIngreso</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Accion" DataSetColumn="Accion" />
              <Mapping SourceColumn="Fecha" DataSetColumn="Fecha" />
              <Mapping SourceColumn="NombreProducto" DataSetColumn="NombreProducto" />
              <Mapping SourceColumn="Cantidad" DataSetColumn="Cantidad" />
              <Mapping SourceColumn="nombre" DataSetColumn="nombre" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="spObtenerUltimaCabeceraTableAdapter" GeneratorDataComponentClassName="spObtenerUltimaCabeceraTableAdapter" Name="spObtenerUltimaCabecera" UserDataComponentName="spObtenerUltimaCabeceraTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="ControlInventarioConnectionString (Settings)" DbObjectName="ControlInventario.dbo.spObtenerUltimaCabecera" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.spObtenerUltimaCabecera</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="cabeceraid" DataSetColumn="cabeceraid" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="spVotenerComprobanteTableAdapter" GeneratorDataComponentClassName="spVotenerComprobanteTableAdapter" Name="spVotenerComprobante" UserDataComponentName="spVotenerComprobanteTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="ControlInventarioConnectionString (Settings)" DbObjectName="ControlInventario.dbo.spVotenerComprobante" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.spVotenerComprobante</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="NumeroDocumento" DataSetColumn="NumeroDocumento" />
              <Mapping SourceColumn="Fecha" DataSetColumn="Fecha" />
              <Mapping SourceColumn="FacturaId" DataSetColumn="FacturaId" />
              <Mapping SourceColumn="CabeceraComprobanteId" DataSetColumn="CabeceraComprobanteId" />
              <Mapping SourceColumn="EmpleadoId" DataSetColumn="EmpleadoId" />
              <Mapping SourceColumn="Accion" DataSetColumn="Accion" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources>
          <DbSource ConnectionRef="ControlInventarioConnectionString (Settings)" DbObjectName="ControlInventario.dbo.spActualizarExistencias" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="spActualizarExistencias" MethodsParameterType="CLR" Modifier="Public" Name="spActualizarExistencias" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="spActualizarExistencias">
            <SelectCommand>
              <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                <CommandText>dbo.spActualizarExistencias</CommandText>
                <Parameters>
                  <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                  <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@cantidad" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                  <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idproducto" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                </Parameters>
              </DbCommand>
            </SelectCommand>
          </DbSource>
          <DbSource ConnectionRef="ControlInventarioConnectionString (Settings)" DbObjectName="ControlInventario.dbo.spEliminarProductoFactura" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="spEliminarProductoFactura" MethodsParameterType="CLR" Modifier="Public" Name="spEliminarProductoFactura" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="spEliminarProductoFactura">
            <SelectCommand>
              <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                <CommandText>dbo.spEliminarProductoFactura</CommandText>
                <Parameters>
                  <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                  <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@iddetallefactura" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                </Parameters>
              </DbCommand>
            </SelectCommand>
          </DbSource>
          <DbSource ConnectionRef="ControlInventarioConnectionString (Settings)" DbObjectName="ControlInventario.dbo.spIngresoCabeceraComprobante" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="spIngresoCabeceraComprobante" MethodsParameterType="CLR" Modifier="Public" Name="spIngresoCabeceraComprobante" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="spIngresoCabeceraComprobante">
            <SelectCommand>
              <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                <CommandText>dbo.spIngresoCabeceraComprobante</CommandText>
                <Parameters>
                  <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                  <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@EmpleadoId" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                  <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="date" DbType="Date" Direction="Input" ParameterName="@Fecha" Precision="10" ProviderType="Date" Scale="0" Size="3" SourceColumnNullMapping="false" SourceVersion="Current" />
                  <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@FacturaId" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                  <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@Accion" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumnNullMapping="false" SourceVersion="Current" />
                </Parameters>
              </DbCommand>
            </SelectCommand>
          </DbSource>
          <DbSource ConnectionRef="ControlInventarioConnectionString (Settings)" DbObjectName="ControlInventario.dbo.spIngresoCabeceraFactura" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="spIngresoCabeceraFactura" MethodsParameterType="CLR" Modifier="Public" Name="spIngresoCabeceraFactura" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="spIngresoCabeceraFactura">
            <SelectCommand>
              <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                <CommandText>dbo.spIngresoCabeceraFactura</CommandText>
                <Parameters>
                  <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                  <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ProveedorId" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                  <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="date" DbType="Date" Direction="Input" ParameterName="@Fecha" Precision="10" ProviderType="Date" Scale="0" Size="3" SourceColumnNullMapping="false" SourceVersion="Current" />
                  <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@EmpleadoId" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                  <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@NumeroDocumento" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumnNullMapping="false" SourceVersion="Current" />
                </Parameters>
              </DbCommand>
            </SelectCommand>
          </DbSource>
          <DbSource ConnectionRef="ControlInventarioConnectionString (Settings)" DbObjectName="ControlInventario.dbo.spIngresoDetalleComprobante" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="spIngresoDetalleComprobante" MethodsParameterType="CLR" Modifier="Public" Name="spIngresoDetalleComprobante" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy4" UserSourceName="spIngresoDetalleComprobante">
            <SelectCommand>
              <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                <CommandText>dbo.spIngresoDetalleComprobante</CommandText>
                <Parameters>
                  <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                  <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@CabeceraComprobanteId" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                  <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ProductoId" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                  <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Cantidad" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                </Parameters>
              </DbCommand>
            </SelectCommand>
          </DbSource>
          <DbSource ConnectionRef="ControlInventarioConnectionString (Settings)" DbObjectName="ControlInventario.dbo.spIngresoDetalleFactura" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="spIngresoDetalleFactura" MethodsParameterType="CLR" Modifier="Public" Name="spIngresoDetalleFactura" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy5" UserSourceName="spIngresoDetalleFactura">
            <SelectCommand>
              <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                <CommandText>dbo.spIngresoDetalleFactura</CommandText>
                <Parameters>
                  <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                  <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@cabeceraFactura" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                  <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ProductoId" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                  <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Cantidad" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                  <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="money" DbType="Currency" Direction="Input" ParameterName="@Precio" Precision="19" ProviderType="Money" Scale="4" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
                  <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="money" DbType="Currency" Direction="Input" ParameterName="@PrecioTotal" Precision="19" ProviderType="Money" Scale="4" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
                  <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Iva" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                </Parameters>
              </DbCommand>
            </SelectCommand>
          </DbSource>
          <DbSource ConnectionRef="ControlInventarioConnectionString (Settings)" DbObjectName="ControlInventario.dbo.spModificarDetalleFactura" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="spModificarDetalleFactura" MethodsParameterType="CLR" Modifier="Public" Name="spModificarDetalleFactura" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy6" UserSourceName="spModificarDetalleFactura">
            <SelectCommand>
              <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                <CommandText>dbo.spModificarDetalleFactura</CommandText>
                <Parameters>
                  <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                  <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ProductoId" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                  <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Cantidad" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                  <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="money" DbType="Currency" Direction="Input" ParameterName="@Precio" Precision="19" ProviderType="Money" Scale="4" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
                  <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@DetalleFacturaId" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                  <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="money" DbType="Currency" Direction="Input" ParameterName="@preciototal" Precision="19" ProviderType="Money" Scale="4" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
                </Parameters>
              </DbCommand>
            </SelectCommand>
          </DbSource>
        </Sources>
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="Acceso_Datos" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="Acceso_Datos" msprop:Generator_UserDSName="Acceso_Datos">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="sObtenerProductoComprobante" msprop:Generator_TableClassName="sObtenerProductoComprobanteDataTable" msprop:Generator_TableVarName="tablesObtenerProductoComprobante" msprop:Generator_TablePropName="sObtenerProductoComprobante" msprop:Generator_RowDeletingName="sObtenerProductoComprobanteRowDeleting" msprop:Generator_UserTableName="sObtenerProductoComprobante" msprop:Generator_RowChangingName="sObtenerProductoComprobanteRowChanging" msprop:Generator_RowEvHandlerName="sObtenerProductoComprobanteRowChangeEventHandler" msprop:Generator_RowDeletedName="sObtenerProductoComprobanteRowDeleted" msprop:Generator_RowEvArgName="sObtenerProductoComprobanteRowChangeEvent" msprop:Generator_RowChangedName="sObtenerProductoComprobanteRowChanged" msprop:Generator_RowClassName="sObtenerProductoComprobanteRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="NombreProducto" msprop:Generator_ColumnVarNameInTable="columnNombreProducto" msprop:Generator_ColumnPropNameInRow="NombreProducto" msprop:Generator_ColumnPropNameInTable="NombreProductoColumn" msprop:Generator_UserColumnName="NombreProducto">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="70" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Existencias" msprop:Generator_ColumnVarNameInTable="columnExistencias" msprop:Generator_ColumnPropNameInRow="Existencias" msprop:Generator_ColumnPropNameInTable="ExistenciasColumn" msprop:Generator_UserColumnName="Existencias" type="xs:int" />
              <xs:element name="cantidad" msprop:Generator_ColumnVarNameInTable="columncantidad" msprop:Generator_ColumnPropNameInRow="cantidad" msprop:Generator_ColumnPropNameInTable="cantidadColumn" msprop:Generator_UserColumnName="cantidad" type="xs:int" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="sObtenerProductosBodega" msprop:Generator_TableClassName="sObtenerProductosBodegaDataTable" msprop:Generator_TableVarName="tablesObtenerProductosBodega" msprop:Generator_TablePropName="sObtenerProductosBodega" msprop:Generator_RowDeletingName="sObtenerProductosBodegaRowDeleting" msprop:Generator_UserTableName="sObtenerProductosBodega" msprop:Generator_RowChangingName="sObtenerProductosBodegaRowChanging" msprop:Generator_RowEvHandlerName="sObtenerProductosBodegaRowChangeEventHandler" msprop:Generator_RowDeletedName="sObtenerProductosBodegaRowDeleted" msprop:Generator_RowEvArgName="sObtenerProductosBodegaRowChangeEvent" msprop:Generator_RowChangedName="sObtenerProductosBodegaRowChanged" msprop:Generator_RowClassName="sObtenerProductosBodegaRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="NombreProducto" msprop:Generator_ColumnVarNameInTable="columnNombreProducto" msprop:Generator_ColumnPropNameInRow="NombreProducto" msprop:Generator_ColumnPropNameInTable="NombreProductoColumn" msprop:Generator_UserColumnName="NombreProducto">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="70" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Existencias" msprop:Generator_ColumnVarNameInTable="columnExistencias" msprop:Generator_ColumnPropNameInRow="Existencias" msprop:Generator_ColumnPropNameInTable="ExistenciasColumn" msprop:Generator_UserColumnName="Existencias" type="xs:int" />
              <xs:element name="Accion" msprop:Generator_ColumnVarNameInTable="columnAccion" msprop:Generator_ColumnPropNameInRow="Accion" msprop:Generator_ColumnPropNameInTable="AccionColumn" msprop:Generator_UserColumnName="Accion" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="7" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ProductoId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_ColumnVarNameInTable="columnProductoId" msprop:Generator_ColumnPropNameInRow="ProductoId" msprop:Generator_ColumnPropNameInTable="ProductoIdColumn" msprop:Generator_UserColumnName="ProductoId" type="xs:int" />
              <xs:element name="CabeceraComprobanteId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_ColumnVarNameInTable="columnCabeceraComprobanteId" msprop:Generator_ColumnPropNameInRow="CabeceraComprobanteId" msprop:Generator_ColumnPropNameInTable="CabeceraComprobanteIdColumn" msprop:Generator_UserColumnName="CabeceraComprobanteId" type="xs:int" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="spConsultaFactura" msprop:Generator_TableClassName="spConsultaFacturaDataTable" msprop:Generator_TableVarName="tablespConsultaFactura" msprop:Generator_TablePropName="spConsultaFactura" msprop:Generator_RowDeletingName="spConsultaFacturaRowDeleting" msprop:Generator_UserTableName="spConsultaFactura" msprop:Generator_RowChangingName="spConsultaFacturaRowChanging" msprop:Generator_RowEvHandlerName="spConsultaFacturaRowChangeEventHandler" msprop:Generator_RowDeletedName="spConsultaFacturaRowDeleted" msprop:Generator_RowEvArgName="spConsultaFacturaRowChangeEvent" msprop:Generator_RowChangedName="spConsultaFacturaRowChanged" msprop:Generator_RowClassName="spConsultaFacturaRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Apellidos" msprop:Generator_ColumnVarNameInTable="columnApellidos" msprop:Generator_ColumnPropNameInRow="Apellidos" msprop:Generator_ColumnPropNameInTable="ApellidosColumn" msprop:Generator_UserColumnName="Apellidos">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Nombres" msprop:Generator_ColumnVarNameInTable="columnNombres" msprop:Generator_ColumnPropNameInRow="Nombres" msprop:Generator_ColumnPropNameInTable="NombresColumn" msprop:Generator_UserColumnName="Nombres">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Fecha" msprop:Generator_ColumnVarNameInTable="columnFecha" msprop:Generator_ColumnPropNameInRow="Fecha" msprop:Generator_ColumnPropNameInTable="FechaColumn" msprop:Generator_UserColumnName="Fecha" type="xs:dateTime" />
              <xs:element name="FacturaId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_ColumnVarNameInTable="columnFacturaId" msprop:Generator_ColumnPropNameInRow="FacturaId" msprop:Generator_ColumnPropNameInTable="FacturaIdColumn" msprop:Generator_UserColumnName="FacturaId" type="xs:int" />
              <xs:element name="NumeroDocumento" msprop:Generator_ColumnVarNameInTable="columnNumeroDocumento" msprop:Generator_ColumnPropNameInRow="NumeroDocumento" msprop:Generator_ColumnPropNameInTable="NumeroDocumentoColumn" msprop:Generator_UserColumnName="NumeroDocumento">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ProveedorId" msprop:Generator_ColumnVarNameInTable="columnProveedorId" msprop:Generator_ColumnPropNameInRow="ProveedorId" msprop:Generator_ColumnPropNameInTable="ProveedorIdColumn" msprop:Generator_UserColumnName="ProveedorId" type="xs:int" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="spConsultaProducto" msprop:Generator_TableClassName="spConsultaProductoDataTable" msprop:Generator_TableVarName="tablespConsultaProducto" msprop:Generator_TablePropName="spConsultaProducto" msprop:Generator_RowDeletingName="spConsultaProductoRowDeleting" msprop:Generator_UserTableName="spConsultaProducto" msprop:Generator_RowChangingName="spConsultaProductoRowChanging" msprop:Generator_RowEvHandlerName="spConsultaProductoRowChangeEventHandler" msprop:Generator_RowDeletedName="spConsultaProductoRowDeleted" msprop:Generator_RowEvArgName="spConsultaProductoRowChangeEvent" msprop:Generator_RowChangedName="spConsultaProductoRowChanged" msprop:Generator_RowClassName="spConsultaProductoRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="NombreProducto" msprop:Generator_ColumnVarNameInTable="columnNombreProducto" msprop:Generator_ColumnPropNameInRow="NombreProducto" msprop:Generator_ColumnPropNameInTable="NombreProductoColumn" msprop:Generator_UserColumnName="NombreProducto">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="70" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="DetalleProducto" msprop:Generator_ColumnVarNameInTable="columnDetalleProducto" msprop:Generator_ColumnPropNameInRow="DetalleProducto" msprop:Generator_ColumnPropNameInTable="DetalleProductoColumn" msprop:Generator_UserColumnName="DetalleProducto">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Existencias" msprop:Generator_ColumnVarNameInTable="columnExistencias" msprop:Generator_ColumnPropNameInRow="Existencias" msprop:Generator_ColumnPropNameInTable="ExistenciasColumn" msprop:Generator_UserColumnName="Existencias" type="xs:int" />
              <xs:element name="ProductoId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_ColumnVarNameInTable="columnProductoId" msprop:Generator_ColumnPropNameInRow="ProductoId" msprop:Generator_ColumnPropNameInTable="ProductoIdColumn" msprop:Generator_UserColumnName="ProductoId" type="xs:int" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="spConsultaProductoFactura" msprop:Generator_TableClassName="spConsultaProductoFacturaDataTable" msprop:Generator_TableVarName="tablespConsultaProductoFactura" msprop:Generator_TablePropName="spConsultaProductoFactura" msprop:Generator_RowDeletingName="spConsultaProductoFacturaRowDeleting" msprop:Generator_UserTableName="spConsultaProductoFactura" msprop:Generator_RowChangingName="spConsultaProductoFacturaRowChanging" msprop:Generator_RowEvHandlerName="spConsultaProductoFacturaRowChangeEventHandler" msprop:Generator_RowDeletedName="spConsultaProductoFacturaRowDeleted" msprop:Generator_RowEvArgName="spConsultaProductoFacturaRowChangeEvent" msprop:Generator_RowChangedName="spConsultaProductoFacturaRowChanged" msprop:Generator_RowClassName="spConsultaProductoFacturaRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="DetalleFacturaId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_ColumnVarNameInTable="columnDetalleFacturaId" msprop:Generator_ColumnPropNameInRow="DetalleFacturaId" msprop:Generator_ColumnPropNameInTable="DetalleFacturaIdColumn" msprop:Generator_UserColumnName="DetalleFacturaId" type="xs:int" />
              <xs:element name="CabeceraFacturaId" msprop:Generator_ColumnVarNameInTable="columnCabeceraFacturaId" msprop:Generator_ColumnPropNameInRow="CabeceraFacturaId" msprop:Generator_ColumnPropNameInTable="CabeceraFacturaIdColumn" msprop:Generator_UserColumnName="CabeceraFacturaId" type="xs:int" />
              <xs:element name="ProductoId" msprop:Generator_ColumnVarNameInTable="columnProductoId" msprop:Generator_ColumnPropNameInRow="ProductoId" msprop:Generator_ColumnPropNameInTable="ProductoIdColumn" msprop:Generator_UserColumnName="ProductoId" type="xs:int" />
              <xs:element name="cantidad" msprop:Generator_ColumnVarNameInTable="columncantidad" msprop:Generator_ColumnPropNameInRow="cantidad" msprop:Generator_ColumnPropNameInTable="cantidadColumn" msprop:Generator_UserColumnName="cantidad" type="xs:int" />
              <xs:element name="precio" msprop:Generator_ColumnVarNameInTable="columnprecio" msprop:Generator_ColumnPropNameInRow="precio" msprop:Generator_ColumnPropNameInTable="precioColumn" msprop:Generator_UserColumnName="precio" type="xs:decimal" />
              <xs:element name="IVA" msprop:Generator_ColumnVarNameInTable="columnIVA" msprop:Generator_ColumnPropNameInRow="IVA" msprop:Generator_ColumnPropNameInTable="IVAColumn" msprop:Generator_UserColumnName="IVA" type="xs:int" minOccurs="0" />
              <xs:element name="NombreProducto" msprop:Generator_ColumnVarNameInTable="columnNombreProducto" msprop:Generator_ColumnPropNameInRow="NombreProducto" msprop:Generator_ColumnPropNameInTable="NombreProductoColumn" msprop:Generator_UserColumnName="NombreProducto">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="70" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PrecioTotal" msprop:Generator_ColumnVarNameInTable="columnPrecioTotal" msprop:Generator_ColumnPropNameInRow="PrecioTotal" msprop:Generator_ColumnPropNameInTable="PrecioTotalColumn" msprop:Generator_UserColumnName="PrecioTotal" type="xs:decimal" minOccurs="0" />
              <xs:element name="Fecha" msprop:Generator_ColumnVarNameInTable="columnFecha" msprop:Generator_ColumnPropNameInRow="Fecha" msprop:Generator_ColumnPropNameInTable="FechaColumn" msprop:Generator_UserColumnName="Fecha" type="xs:dateTime" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="spConsultarEmpleado" msprop:Generator_TableClassName="spConsultarEmpleadoDataTable" msprop:Generator_TableVarName="tablespConsultarEmpleado" msprop:Generator_TablePropName="spConsultarEmpleado" msprop:Generator_RowDeletingName="spConsultarEmpleadoRowDeleting" msprop:Generator_UserTableName="spConsultarEmpleado" msprop:Generator_RowChangingName="spConsultarEmpleadoRowChanging" msprop:Generator_RowEvHandlerName="spConsultarEmpleadoRowChangeEventHandler" msprop:Generator_RowDeletedName="spConsultarEmpleadoRowDeleted" msprop:Generator_RowEvArgName="spConsultarEmpleadoRowChangeEvent" msprop:Generator_RowChangedName="spConsultarEmpleadoRowChanged" msprop:Generator_RowClassName="spConsultarEmpleadoRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Nombres" msprop:Generator_ColumnVarNameInTable="columnNombres" msprop:Generator_ColumnPropNameInRow="Nombres" msprop:Generator_ColumnPropNameInTable="NombresColumn" msprop:Generator_UserColumnName="Nombres">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Apellidos" msprop:Generator_ColumnVarNameInTable="columnApellidos" msprop:Generator_ColumnPropNameInRow="Apellidos" msprop:Generator_ColumnPropNameInTable="ApellidosColumn" msprop:Generator_UserColumnName="Apellidos">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Cedula" msprop:Generator_ColumnVarNameInTable="columnCedula" msprop:Generator_ColumnPropNameInRow="Cedula" msprop:Generator_ColumnPropNameInTable="CedulaColumn" msprop:Generator_UserColumnName="Cedula">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="11" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Genero" msprop:Generator_ColumnVarNameInTable="columnGenero" msprop:Generator_ColumnPropNameInRow="Genero" msprop:Generator_ColumnPropNameInTable="GeneroColumn" msprop:Generator_UserColumnName="Genero" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Direccion" msprop:Generator_ColumnVarNameInTable="columnDireccion" msprop:Generator_ColumnPropNameInRow="Direccion" msprop:Generator_ColumnPropNameInTable="DireccionColumn" msprop:Generator_UserColumnName="Direccion" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Telefono" msprop:Generator_ColumnVarNameInTable="columnTelefono" msprop:Generator_ColumnPropNameInRow="Telefono" msprop:Generator_ColumnPropNameInTable="TelefonoColumn" msprop:Generator_UserColumnName="Telefono" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Cargo" msprop:Generator_ColumnVarNameInTable="columnCargo" msprop:Generator_ColumnPropNameInRow="Cargo" msprop:Generator_ColumnPropNameInTable="CargoColumn" msprop:Generator_UserColumnName="Cargo">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="EmpleadoId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_ColumnVarNameInTable="columnEmpleadoId" msprop:Generator_ColumnPropNameInRow="EmpleadoId" msprop:Generator_ColumnPropNameInTable="EmpleadoIdColumn" msprop:Generator_UserColumnName="EmpleadoId" type="xs:int" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="spConsultarProveedor" msprop:Generator_TableClassName="spConsultarProveedorDataTable" msprop:Generator_TableVarName="tablespConsultarProveedor" msprop:Generator_TablePropName="spConsultarProveedor" msprop:Generator_RowDeletingName="spConsultarProveedorRowDeleting" msprop:Generator_UserTableName="spConsultarProveedor" msprop:Generator_RowChangingName="spConsultarProveedorRowChanging" msprop:Generator_RowEvHandlerName="spConsultarProveedorRowChangeEventHandler" msprop:Generator_RowDeletedName="spConsultarProveedorRowDeleted" msprop:Generator_RowEvArgName="spConsultarProveedorRowChangeEvent" msprop:Generator_RowChangedName="spConsultarProveedorRowChanged" msprop:Generator_RowClassName="spConsultarProveedorRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Nombres" msprop:Generator_ColumnVarNameInTable="columnNombres" msprop:Generator_ColumnPropNameInRow="Nombres" msprop:Generator_ColumnPropNameInTable="NombresColumn" msprop:Generator_UserColumnName="Nombres">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Apellidos" msprop:Generator_ColumnVarNameInTable="columnApellidos" msprop:Generator_ColumnPropNameInRow="Apellidos" msprop:Generator_ColumnPropNameInTable="ApellidosColumn" msprop:Generator_UserColumnName="Apellidos">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Cedula" msprop:Generator_ColumnVarNameInTable="columnCedula" msprop:Generator_ColumnPropNameInRow="Cedula" msprop:Generator_ColumnPropNameInTable="CedulaColumn" msprop:Generator_UserColumnName="Cedula">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="11" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Genero" msprop:Generator_ColumnVarNameInTable="columnGenero" msprop:Generator_ColumnPropNameInRow="Genero" msprop:Generator_ColumnPropNameInTable="GeneroColumn" msprop:Generator_UserColumnName="Genero" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Direccion" msprop:Generator_ColumnVarNameInTable="columnDireccion" msprop:Generator_ColumnPropNameInRow="Direccion" msprop:Generator_ColumnPropNameInTable="DireccionColumn" msprop:Generator_UserColumnName="Direccion" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Telefono" msprop:Generator_ColumnVarNameInTable="columnTelefono" msprop:Generator_ColumnPropNameInRow="Telefono" msprop:Generator_ColumnPropNameInTable="TelefonoColumn" msprop:Generator_UserColumnName="Telefono" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="NombreEmpresa" msprop:Generator_ColumnVarNameInTable="columnNombreEmpresa" msprop:Generator_ColumnPropNameInRow="NombreEmpresa" msprop:Generator_ColumnPropNameInTable="NombreEmpresaColumn" msprop:Generator_UserColumnName="NombreEmpresa">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="DireccionEmpresa" msprop:Generator_ColumnVarNameInTable="columnDireccionEmpresa" msprop:Generator_ColumnPropNameInRow="DireccionEmpresa" msprop:Generator_ColumnPropNameInTable="DireccionEmpresaColumn" msprop:Generator_UserColumnName="DireccionEmpresa">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="TelefonosEmpresa" msprop:Generator_ColumnVarNameInTable="columnTelefonosEmpresa" msprop:Generator_ColumnPropNameInRow="TelefonosEmpresa" msprop:Generator_ColumnPropNameInTable="TelefonosEmpresaColumn" msprop:Generator_UserColumnName="TelefonosEmpresa" type="xs:boolean" />
              <xs:element name="RucEmpresa" msprop:Generator_ColumnVarNameInTable="columnRucEmpresa" msprop:Generator_ColumnPropNameInRow="RucEmpresa" msprop:Generator_ColumnPropNameInTable="RucEmpresaColumn" msprop:Generator_UserColumnName="RucEmpresa" type="xs:boolean" />
              <xs:element name="ProveedorId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_ColumnVarNameInTable="columnProveedorId" msprop:Generator_ColumnPropNameInRow="ProveedorId" msprop:Generator_ColumnPropNameInTable="ProveedorIdColumn" msprop:Generator_UserColumnName="ProveedorId" type="xs:int" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="spConsultaSalidaIngreso" msprop:Generator_TableClassName="spConsultaSalidaIngresoDataTable" msprop:Generator_TableVarName="tablespConsultaSalidaIngreso" msprop:Generator_TablePropName="spConsultaSalidaIngreso" msprop:Generator_RowDeletingName="spConsultaSalidaIngresoRowDeleting" msprop:Generator_UserTableName="spConsultaSalidaIngreso" msprop:Generator_RowChangingName="spConsultaSalidaIngresoRowChanging" msprop:Generator_RowEvHandlerName="spConsultaSalidaIngresoRowChangeEventHandler" msprop:Generator_RowDeletedName="spConsultaSalidaIngresoRowDeleted" msprop:Generator_RowEvArgName="spConsultaSalidaIngresoRowChangeEvent" msprop:Generator_RowChangedName="spConsultaSalidaIngresoRowChanged" msprop:Generator_RowClassName="spConsultaSalidaIngresoRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Accion" msprop:Generator_ColumnVarNameInTable="columnAccion" msprop:Generator_ColumnPropNameInRow="Accion" msprop:Generator_ColumnPropNameInTable="AccionColumn" msprop:Generator_UserColumnName="Accion" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="7" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Fecha" msprop:Generator_ColumnVarNameInTable="columnFecha" msprop:Generator_ColumnPropNameInRow="Fecha" msprop:Generator_ColumnPropNameInTable="FechaColumn" msprop:Generator_UserColumnName="Fecha" type="xs:dateTime" />
              <xs:element name="NombreProducto" msprop:Generator_ColumnVarNameInTable="columnNombreProducto" msprop:Generator_ColumnPropNameInRow="NombreProducto" msprop:Generator_ColumnPropNameInTable="NombreProductoColumn" msprop:Generator_UserColumnName="NombreProducto">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="70" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Cantidad" msprop:Generator_ColumnVarNameInTable="columnCantidad" msprop:Generator_ColumnPropNameInRow="Cantidad" msprop:Generator_ColumnPropNameInTable="CantidadColumn" msprop:Generator_UserColumnName="Cantidad" type="xs:int" />
              <xs:element name="nombre" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnnombre" msprop:Generator_ColumnPropNameInRow="nombre" msprop:Generator_ColumnPropNameInTable="nombreColumn" msprop:Generator_UserColumnName="nombre" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="101" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="spObtenerUltimaCabecera" msprop:Generator_TableClassName="spObtenerUltimaCabeceraDataTable" msprop:Generator_TableVarName="tablespObtenerUltimaCabecera" msprop:Generator_TablePropName="spObtenerUltimaCabecera" msprop:Generator_RowDeletingName="spObtenerUltimaCabeceraRowDeleting" msprop:Generator_UserTableName="spObtenerUltimaCabecera" msprop:Generator_RowChangingName="spObtenerUltimaCabeceraRowChanging" msprop:Generator_RowEvHandlerName="spObtenerUltimaCabeceraRowChangeEventHandler" msprop:Generator_RowDeletedName="spObtenerUltimaCabeceraRowDeleted" msprop:Generator_RowEvArgName="spObtenerUltimaCabeceraRowChangeEvent" msprop:Generator_RowChangedName="spObtenerUltimaCabeceraRowChanged" msprop:Generator_RowClassName="spObtenerUltimaCabeceraRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="cabeceraid" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columncabeceraid" msprop:Generator_ColumnPropNameInRow="cabeceraid" msprop:Generator_ColumnPropNameInTable="cabeceraidColumn" msprop:Generator_UserColumnName="cabeceraid" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="spVotenerComprobante" msprop:Generator_TableClassName="spVotenerComprobanteDataTable" msprop:Generator_TableVarName="tablespVotenerComprobante" msprop:Generator_TablePropName="spVotenerComprobante" msprop:Generator_RowDeletingName="spVotenerComprobanteRowDeleting" msprop:Generator_UserTableName="spVotenerComprobante" msprop:Generator_RowChangingName="spVotenerComprobanteRowChanging" msprop:Generator_RowEvHandlerName="spVotenerComprobanteRowChangeEventHandler" msprop:Generator_RowDeletedName="spVotenerComprobanteRowDeleted" msprop:Generator_RowEvArgName="spVotenerComprobanteRowChangeEvent" msprop:Generator_RowChangedName="spVotenerComprobanteRowChanged" msprop:Generator_RowClassName="spVotenerComprobanteRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="NumeroDocumento" msprop:Generator_ColumnVarNameInTable="columnNumeroDocumento" msprop:Generator_ColumnPropNameInRow="NumeroDocumento" msprop:Generator_ColumnPropNameInTable="NumeroDocumentoColumn" msprop:Generator_UserColumnName="NumeroDocumento">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Fecha" msprop:Generator_ColumnVarNameInTable="columnFecha" msprop:Generator_ColumnPropNameInRow="Fecha" msprop:Generator_ColumnPropNameInTable="FechaColumn" msprop:Generator_UserColumnName="Fecha" type="xs:dateTime" />
              <xs:element name="FacturaId" msprop:Generator_ColumnVarNameInTable="columnFacturaId" msprop:Generator_ColumnPropNameInRow="FacturaId" msprop:Generator_ColumnPropNameInTable="FacturaIdColumn" msprop:Generator_UserColumnName="FacturaId" type="xs:int" />
              <xs:element name="CabeceraComprobanteId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_ColumnVarNameInTable="columnCabeceraComprobanteId" msprop:Generator_ColumnPropNameInRow="CabeceraComprobanteId" msprop:Generator_ColumnPropNameInTable="CabeceraComprobanteIdColumn" msprop:Generator_UserColumnName="CabeceraComprobanteId" type="xs:int" />
              <xs:element name="EmpleadoId" msprop:Generator_ColumnVarNameInTable="columnEmpleadoId" msprop:Generator_ColumnPropNameInRow="EmpleadoId" msprop:Generator_ColumnPropNameInTable="EmpleadoIdColumn" msprop:Generator_UserColumnName="EmpleadoId" type="xs:int" minOccurs="0" />
              <xs:element name="Accion" msprop:Generator_ColumnVarNameInTable="columnAccion" msprop:Generator_ColumnPropNameInRow="Accion" msprop:Generator_ColumnPropNameInTable="AccionColumn" msprop:Generator_UserColumnName="Accion" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="7" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:sObtenerProductosBodega" />
      <xs:field xpath="mstns:ProductoId" />
      <xs:field xpath="mstns:CabeceraComprobanteId" />
    </xs:unique>
    <xs:unique name="spConsultaFactura_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:spConsultaFactura" />
      <xs:field xpath="mstns:FacturaId" />
    </xs:unique>
    <xs:unique name="spConsultaProducto_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:spConsultaProducto" />
      <xs:field xpath="mstns:ProductoId" />
    </xs:unique>
    <xs:unique name="spConsultaProductoFactura_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:spConsultaProductoFactura" />
      <xs:field xpath="mstns:DetalleFacturaId" />
    </xs:unique>
    <xs:unique name="spConsultarEmpleado_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:spConsultarEmpleado" />
      <xs:field xpath="mstns:EmpleadoId" />
    </xs:unique>
    <xs:unique name="spConsultarProveedor_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:spConsultarProveedor" />
      <xs:field xpath="mstns:ProveedorId" />
    </xs:unique>
    <xs:unique name="spVotenerComprobante_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:spVotenerComprobante" />
      <xs:field xpath="mstns:CabeceraComprobanteId" />
    </xs:unique>
  </xs:element>
</xs:schema>